#!/usr/bin/python

x = 'I am a global var'

def fun():
    global x
    x = 100

fun()

print x

